<template>
    <el-form-item label="排期" :prop="`adgroup.delivery.${dataForm.delivery_index}.schedule_type`" :rules="{required: true, message: '请选择', trigger: ['blur', 'change']}">
        <el-radio-group v-model="dataForm.adgroup.delivery[dataForm.delivery_index].schedule_type" size="small" @change="sessionSave">
            <el-radio-button label="SCHEDULE_FROM_NOW" :disabled="dataForm.adgroup.delivery[dataForm.delivery_index].budget_mode=='BUDGET_MODE_TOTAL'">从排定的开始时间起持续投放广告组</el-radio-button>
            <el-radio-button label="SCHEDULE_START_END">在某个时间范围内投放广告组</el-radio-button>
        </el-radio-group>
    </el-form-item>
</template>

<script>
export default {
    props: ["dataForm"],
    components: {},
    name: "",
    data() {
        return {
            noset: "",
        };
    },
    created() {},
    methods: {
        sessionSave(){
            this.$emit("sessionSave")
        }
    },
};
</script>


<style scoped>
</style>

